
#ifndef _CTESTBAROPERATIONS_H
#define _CTESTBAROPERATIONS_H

#include "../CBarOperations.h"
#include <cppunit/TestFixture.h>
#include <cppunit/extensions/HelperMacros.h>


using namespace std;


class CTestBarOperations : public CPPUNIT_NS::TestFixture
{
    CPPUNIT_TEST_SUITE(CTestBarOperations);
    CPPUNIT_TEST(testConstructor);
    CPPUNIT_TEST(testAdd);
    CPPUNIT_TEST(testSubtract);
    CPPUNIT_TEST_SUITE_END();

    public:
        void setUp(void);
        void tearDown(void);

    protected:
        void testConstructor(void);
        void testAdd(void);
        void testSubtract(void);

    private:
        CBarOperations *testObj;
};

#endif
